using System;
using System.Runtime.Serialization;

namespace ICeFramework.Common.DataLayer
{
    /// <summary>
    /// 
    /// </summary>
    /// <remarks></remarks>
    /// <example></example>
    [Serializable()]
    public class StoredProcedureDefinition
    {
        private string _storedProcedureName;
        #region public string StoredProcedureName
        /// <summary>
        /// Get/Sets the StoredProcedureName of the StoredProcedureDefinition
        /// </summary>
        /// <value></value>
        public string StoredProcedureName
        {
            get { return _storedProcedureName; }
            set { _storedProcedureName = value; }
        }
        #endregion

        protected DataParameterCollection _parameters = new DataParameterCollection();
        #region public DataParameterCollection Parameters
        /// <summary>
        /// Get/Sets the Parameters of the StoredProcedureDefinition
        /// </summary>
        /// <value></value>
        public DataParameterCollection Parameters
        {
            get { return _parameters; }
            set { _parameters = value; }
        }
        #endregion

        #region public StoredProcedureDefinition()
        /// <summary>
        /// Initializes a new instance of the <b>StoredProcedureDefinition</b> class.
        /// </summary>
        public StoredProcedureDefinition()
        {
        }
        #endregion
    }
}
